I ran into a very similar issue calling the add(completion:) method from Swift 6 code:
UNUserNotificationCenter.current().add(request) { error in
...
}
crashes (even from the main actor), but:
Task {
try await UNUserNotificationCenter.current().add(request)
}
does not.